﻿namespace Pottery.Module.Infrastructure.Interfaces
{
    /// <summary>
    /// Provides repository test service model
    /// </summary>
    public interface ITestUseCases
    {
        /// <summary>
        /// Gets path to data
        /// </summary>
        IPathResolver Resolver { set; }

        /// <summary>
        /// Sets input data for use case
        /// </summary>
        /// <param name="IsValid">Should input data be correct?</param>
        void SetInputData(bool IsValid);

        /// <summary>
        /// Does use case and return the result of action
        /// </summary>
        /// <returns>True - if action passed, otherwise - False</returns>
        bool AnalyseResults();
    }
}
